home *** CD-ROM | disk | FTP | other *** search
/ Hyper Animation Series: Viper (Limited Edition) / Hyper Animation Series: VIPER (Limited Edition).iso / pc / SYSTEM / class / PlayerShipIndex.class (.txt) < prev    next >
Encoding:
Java Class File  |  1998-08-04  |  1.9 KB  |  88 lines

  1. class PlayerShipIndex extends StgObjectIndex {
  2.    public static final int COLOR_NOMAL = 0;
  3.    public static final int COLOR_RED = 1;
  4.    public static final int COLOR_BLUE = 2;
  5.    public static final int COLOR_FLUSH = 3;
  6.    protected PlayerShipAction psaAction;
  7.    protected PlayerShot psNomal;
  8.    protected PlayerShot psHoming;
  9.    protected int nColor;
  10.    protected int nPower;
  11.    protected int nBom;
  12.    protected int nReflect;
  13.  
  14.    public PlayerShipIndex() {
  15.    }
  16.  
  17.    public PlayerShipIndex(Position var1, SpriteAnimeData var2, Position var3, int var4, PlayerShipAction var5, PlayerShot var6, PlayerShot var7, int var8, int var9, int var10, int var11) {
  18.       super(var1, var2, var3, var4);
  19.       this.psaAction = var5;
  20.       this.psNomal = var6;
  21.       this.psHoming = var7;
  22.       this.nColor = var8;
  23.       this.nPower = var9;
  24.       this.nBom = var10;
  25.       this.nReflect = var11;
  26.    }
  27.  
  28.    public void action() {
  29.       this.psaAction.action(this);
  30.    }
  31.  
  32.    public void setPlayerShipAction(PlayerShipAction var1) {
  33.       this.psaAction = var1;
  34.    }
  35.  
  36.    public void setNomalShot(PlayerShot var1) {
  37.       this.psNomal = var1;
  38.    }
  39.  
  40.    public void setHomingShot(PlayerShot var1) {
  41.       this.psHoming = var1;
  42.    }
  43.  
  44.    public void setColor(int var1) {
  45.       this.nColor = var1;
  46.    }
  47.  
  48.    public void setPower(int var1) {
  49.       this.nPower = var1;
  50.    }
  51.  
  52.    public void setBom(int var1) {
  53.       this.nBom = var1;
  54.    }
  55.  
  56.    public void setReflect(int var1) {
  57.       this.nReflect = var1;
  58.    }
  59.  
  60.    public PlayerShipAction getPlayerShipAction() {
  61.       return this.psaAction;
  62.    }
  63.  
  64.    public PlayerShot getNomalShot() {
  65.       return this.psNomal;
  66.    }
  67.  
  68.    public PlayerShot getHomingShot() {
  69.       return this.psHoming;
  70.    }
  71.  
  72.    public int getColor() {
  73.       return this.nColor;
  74.    }
  75.  
  76.    public int getPower() {
  77.       return this.nPower;
  78.    }
  79.  
  80.    public int getBom() {
  81.       return this.nBom;
  82.    }
  83.  
  84.    public int getReflect() {
  85.       return this.nReflect;
  86.    }
  87. }
  88.